<?php

$menu = [
    [
        'name'    => 'cms',
        'title'   => 'CMS管理',
        'sublist' => [
            [
                'name'    => 'cms/config',
                'title'   => '站点配置',
                'icon'    => 'fa fa-gears',
                'ismenu'  => 1,
                'weigh'   => '22',
                'sublist' => [
                    ['name' => 'cms/config/index', 'title' => '修改'],
                ],
            ],
            [
                'name'    => 'cms/statistics',
                'title'   => '统计控制台',
                'icon'    => 'fa fa-bar-chart',
                'ismenu'  => 1,
                'weigh'   => '21',
                'sublist' => [
                    ['name' => 'cms/statistics/index', 'title' => '查看'],
                ],
            ],
            [
                'name'    => 'cms/channel',
                'title'   => '栏目管理',
                'icon'    => 'fa fa-list',
                'weigh'   => '20',
                'sublist' => [
                    ['name' => 'cms/channel/index', 'title' => '查看'],
                    ['name' => 'cms/channel/add', 'title' => '添加'],
                    ['name' => 'cms/channel/edit', 'title' => '修改'],
                    ['name' => 'cms/channel/del', 'title' => '删除'],
                    ['name' => 'cms/channel/multi', 'title' => '批量更新'],
                    ['name' => 'cms/channel/admin', 'title' => '栏目授权', 'remark' => '分配管理员可管理的栏目数据，此功能需要先开启站点配置栏目授权开关'],
                ],
                'remark'  => '用于管理网站的分类、设置导航分类'
            ],
            [
                'name'    => 'cms/archives',
                'title'   => '内容管理',
                'icon'    => 'fa fa-file-text-o',
                'weigh'   => '19',
                'sublist' => [
                    ['name' => 'cms/archives/index', 'title' => '查看'],
                    ['name' => 'cms/archives/content', 'title' => '副表管理', 'remark' => '用于管理模型副表的数据列表,不建议在此进行删除操作'],
                    ['name' => 'cms/archives/add', 'title' => '添加'],
                    ['name' => 'cms/archives/edit', 'title' => '修改'],
                    ['name' => 'cms/archives/del', 'title' => '删除'],
                    ['name' => 'cms/archives/multi', 'title' => '批量更新'],
                    ["name" => "cms/archives/recyclebin", "title" => "回收站"],
                    ["name" => "cms/archives/restore", "title" => "还原"],
                    ["name" => "cms/archives/destroy", "title" => "真实删除"],
                ]
            ],
            [
                'name'    => 'cms/modelx',
                'title'   => '模型管理',
                'icon'    => 'fa fa-th',
                'weigh'   => '18',
                'sublist' => [
                    ['name' => 'cms/modelx/index', 'title' => '查看'],
                    ['name' => 'cms/modelx/add', 'title' => '添加'],
                    ['name' => 'cms/modelx/edit', 'title' => '修改'],
                    ['name' => 'cms/modelx/del', 'title' => '删除'],
                    ['name' => 'cms/modelx/duplicate', 'title' => '复制'],
                    ['name' => 'cms/modelx/multi', 'title' => '批量更新']
                ],
                'remark'  => '在线添加修改删除模型，管理模型字段和相关模型数据'
            ],
            [
                'name'    => 'cms/fields',
                'title'   => '字段管理',
                'icon'    => 'fa fa-fields',
                'ismenu'  => 0,
                'sublist' => [
                    ['name' => 'cms/fields/index', 'title' => '查看'],
                    ['name' => 'cms/fields/add', 'title' => '添加'],
                    ['name' => 'cms/fields/edit', 'title' => '修改'],
                    ['name' => 'cms/fields/del', 'title' => '删除'],
                    ['name' => 'cms/fields/duplicate', 'title' => '复制'],
                    ['name' => 'cms/fields/multi', 'title' => '批量更新'],
                ],
                'remark'  => '用于管理模型或表单的字段，灰色为主表字段无法修改'
            ],
            [
                'name'    => 'cms/tag',
                'title'   => '标签管理',
                'icon'    => 'fa fa-tags',
                'weigh'   => '17',
                'sublist' => [
                    ['name' => 'cms/tag/index', 'title' => '查看'],
                    ['name' => 'cms/tag/add', 'title' => '添加'],
                    ['name' => 'cms/tag/edit', 'title' => '修改'],
                    ['name' => 'cms/tag/del', 'title' => '删除'],
                    ['name' => 'cms/tag/multi', 'title' => '批量更新'],
                ],
                'remark'  => '用于管理文章关联的标签,标签的添加在添加文章时自动维护,无需手动添加标签'
            ],
            [
                'name'    => 'cms/block',
                'title'   => '区块管理',
                'icon'    => 'fa fa-th-large',
                'weigh'   => '16',
                'sublist' => [
                    ['name' => 'cms/block/index', 'title' => '查看'],
                    ['name' => 'cms/block/add', 'title' => '添加'],
                    ['name' => 'cms/block/edit', 'title' => '修改'],
                    ['name' => 'cms/block/del', 'title' => '删除'],
                    ['name' => 'cms/block/multi', 'title' => '批量更新'],
                ],
                'remark'  => '用于管理站点的自定义区块内容，常用于广告、JS脚本、焦点图、片段代码等'
            ],
            [
                'name'    => 'cms/page',
                'title'   => '单页管理',
                'icon'    => 'fa fa-file',
                'weigh'   => '15',
                'sublist' => [
                    ['name' => 'cms/page/index', 'title' => '查看'],
                    ['name' => 'cms/page/add', 'title' => '添加'],
                    ['name' => 'cms/page/edit', 'title' => '修改'],
                    ['name' => 'cms/page/del', 'title' => '删除'],
                    ['name' => 'cms/page/multi', 'title' => '批量更新'],
                    ["name" => "cms/page/recyclebin", "title" => "回收站"],
                    ["name" => "cms/page/restore", "title" => "还原"],
                    ["name" => "cms/page/destroy", "title" => "真实删除"],
                ],
                'remark'  => '用于管理网站的单页面'
            ],
            [
                'name'    => 'cms/search_log',
                'title'   => '搜索记录管理',
                'icon'    => 'fa fa-history',
                'weigh'   => '15',
                'sublist' => [
                    ['name' => 'cms/search_log/index', 'title' => '查看'],
                    ['name' => 'cms/search_log/add', 'title' => '添加'],
                    ['name' => 'cms/search_log/edit', 'title' => '修改'],
                    ['name' => 'cms/search_log/del', 'title' => '删除'],
                    ['name' => 'cms/search_log/multi', 'title' => '批量更新'],
                ],
                'remark'  => '用于管理网站的搜索记录日志'
            ],
            [
                'name'    => 'cms/comment',
                'title'   => '评论管理',
                'icon'    => 'fa fa-comment',
                'weigh'   => '14',
                'sublist' => [
                    ['name' => 'cms/comment/index', 'title' => '查看'],
                    ['name' => 'cms/comment/add', 'title' => '添加'],
                    ['name' => 'cms/comment/edit', 'title' => '修改'],
                    ['name' => 'cms/comment/del', 'title' => '删除'],
                    ['name' => 'cms/comment/multi', 'title' => '批量更新'],
                    ["name" => "cms/comment/recyclebin", "title" => "回收站"],
                    ["name" => "cms/comment/restore", "title" => "还原"],
                    ["name" => "cms/comment/destroy", "title" => "真实删除"],
                ],
                'remark'  => '用于管理用户在网站上发表的评论'
            ],
            [
                'name'    => 'cms/diyform',
                'title'   => '自定义表单管理',
                'icon'    => 'fa fa-list',
                'weigh'   => '13',
                'sublist' => [
                    ['name' => 'cms/diyform/index', 'title' => '查看'],
                    ['name' => 'cms/diyform/add', 'title' => '添加'],
                    ['name' => 'cms/diyform/edit', 'title' => '修改'],
                    ['name' => 'cms/diyform/del', 'title' => '删除'],
                    ['name' => 'cms/diyform/multi', 'title' => '批量更新'],
                ],
                'remark'  => '可在线创建自定义表单，管理表单字段和数据列表'
            ],
            [
                'name'    => 'cms/diydata',
                'title'   => '自定义表单数据管理',
                'icon'    => 'fa fa-list',
                'ismenu'  => 0,
                'weigh'   => '12',
                'sublist' => [
                    ['name' => 'cms/diydata/index', 'title' => '查看'],
                    ['name' => 'cms/diydata/add', 'title' => '添加'],
                    ['name' => 'cms/diydata/edit', 'title' => '修改'],
                    ['name' => 'cms/diydata/del', 'title' => '删除'],
                    ['name' => 'cms/diydata/multi', 'title' => '批量更新'],
                    ['name' => 'cms/diydata/import', 'title' => '导入'],
                ],
                'remark'  => '可在线管理自定义表单的数据列表'
            ],
            [
                'name'    => 'cms/order',
                'title'   => '订单管理',
                'icon'    => 'fa fa-cny',
                'ismenu'  => 1,
                'weigh'   => '11',
                'sublist' => [
                    ['name' => 'cms/order/index', 'title' => '查看'],
                    ['name' => 'cms/order/add', 'title' => '添加'],
                    ['name' => 'cms/order/edit', 'title' => '修改'],
                    ['name' => 'cms/order/del', 'title' => '删除'],
                    ['name' => 'cms/order/multi', 'title' => '批量更新'],
                ],
                'remark'  => '可在线管理付费查看所产生的订单'
            ],
            [
                'name'    => 'cms/special',
                'title'   => '专题管理',
                'icon'    => 'fa fa-newspaper-o',
                'ismenu'  => 1,
                'weigh'   => '10',
                'sublist' => [
                    ['name' => 'cms/special/index', 'title' => '查看'],
                    ['name' => 'cms/special/add', 'title' => '添加'],
                    ['name' => 'cms/special/edit', 'title' => '修改'],
                    ['name' => 'cms/special/del', 'title' => '删除'],
                    ['name' => 'cms/special/multi', 'title' => '批量更新'],
                    ["name" => "cms/special/recyclebin", "title" => "回收站"],
                    ["name" => "cms/special/restore", "title" => "还原"],
                    ["name" => "cms/special/destroy", "title" => "真实删除"],
                ],
                'remark'  => '可在线管理专题列表'
            ],
            [
                'name'    => 'cms/builder',
                'title'   => '标签生成器',
                'icon'    => 'fa fa-code',
                'ismenu'  => 1,
                'weigh'   => '10',
                'sublist' => [
                    ['name' => 'cms/builder/index', 'title' => '生成'],
                    ['name' => 'cms/builder/parse', 'title' => '解析'],
                ],
                'remark'  => '可在线生成模板标签并进行渲染标签'
            ],
            [
                'name'    => 'cms/autolink',
                'title'   => '自动链接管理',
                'icon'    => 'fa fa-link',
                'ismenu'  => 1,
                'weigh'   => '11',
                'sublist' => [
                    ['name' => 'cms/autolink/index', 'title' => '修改'],
                    ['name' => 'cms/autolink/add', 'title' => '修改'],
                    ['name' => 'cms/autolink/edit', 'title' => '修改'],
                    ['name' => 'cms/autolink/del', 'title' => '修改'],
                    ['name' => 'cms/autolink/multi', 'title' => '批量更新'],
                ],
                'remark'  => '管理文章正文内文本自动链接'
            ],
            [
                'name'    => 'cms/spider_log',
                'title'   => '搜索引擎来访管理',
                'icon'    => 'fa fa-search',
                'ismenu'  => 1,
                'weigh'   => '14',
                'sublist' => [
                    ['name' => 'cms/spider_log/index', 'title' => '修改'],
                    ['name' => 'cms/spider_log/add', 'title' => '修改'],
                    ['name' => 'cms/spider_log/edit', 'title' => '修改'],
                    ['name' => 'cms/spider_log/del', 'title' => '修改'],
                    ['name' => 'cms/spider_log/multi', 'title' => '批量更新'],
                ],
                'remark'  => '可在线管理搜索引擎蜘蛛来访记录'
            ]
        ]
    ]
];
return $menu;
